
package com.shanyin.framework.member.dao;

import com.shanyin.framework.common.base.BaseDao;
import com.shanyin.framework.member.entity.SysUserInfo;

/**
 * @author qing.yunhui 
 * @Since 2011-2018
 * @create 2018-05-23 14:35:32
 * @history
 */
public interface SysUserInfoDao extends BaseDao<SysUserInfo,Long>{
	
	/**
	 * <p>根据给定userId查询对应的SysUserInfo</p>
	 * @param userId
	 * @return 
	 * */
	SysUserInfo getSysUserInfoByUserId(Long userId);
	
	/**
	 * <p>根据给定idNo查询对应的SysUserInfo</p>
	 * @param idNo 身份证号
	 * @return 
	 * */
	SysUserInfo getSysUserInfoByIdNo(Long idNo);
	
}
